home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / jun94 / tetef102.gif < prev    next >
Graphics Interchange Format  |  1996-06-12  |  93.3 KB  |  570x472  |  4-bit (16 colors)
   ocr: Given the following Scan Page Configurations (SC) of: Page Configuration comments 1 Initialization Putone copy of MY KEY into play 2 Signaled The Reader Page 3 Signaled The Writer Page 4 Cyclic Will signal page 2 when wanting to read 5 Interrupt Will signal page 3 when wanting to write Shared memory that must be protected from having two pages read/write at the same time Init Page SEND (MY_KEY) Page 2 some. code grab the shared Page 3 some: code - - grab WAIT (MY.KEY) resource the shared resource got it, release now it. read it WAIT (MY_KEY) write it now SEND (MY_KEY) got now it, release now i ...